package com.shadow.demo.dictionary.service;

import org.springframework.cache.annotation.CacheEvict;
import org.springframework.stereotype.Service;

@Service
public class DicCacheService {

    @CacheEvict(value = "dicItemByDicId", allEntries = true)
    public void clearDicCache() {
    }

    @CacheEvict(value = "dicItemByDicId", key = "#dicId")
    public void removeDicCacheById(String dicId) {
    }
}
